From 4a1bcf4134c9e507170c0cd93342a4dc2852fccc Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Sun, 20 Jul 2008 01:01:46 +0200 Subject: [PATCH] Restore emacs/ocamltags.in in clean --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index bb60df83..94178725 100755 --- a/debian/rules +++ b/debian/rules @@ -141,11 +141,15 @@ clean: abi-sed unpatch $(MAKE) -C debian/ocaml-md5sums clean $(MAKE) -C debian/dh-ocaml clean $(MAKE) -C debian/policy clean + # Restore files altered by debian/rules for ext in sub guess; do \ if [ -f debian/config.orig.$$ext ] ; then \ mv -f debian/config.orig.$$ext config/gnu/config.$$ext; \ fi; \ done + if head -n 1 emacs/ocamltags.in | grep -q '^#!/bin/sh'; then \ + sed -i 1d emacs/ocamltags.in; \ + fi # Files not cleaned by upstream (most of them are cleaned # using debian/clean feature of dh_clean in debhelper 7) -$(RM) ocaml-$(OCAMLABI) -- 2.30.2